<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增负责课题')"/>
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-teatask-add">
            <div class="form-group">
                <label class="col-sm-3 control-label">学号：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="stuId" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">姓名：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="stuName" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">班级：</label>
                <div class="col-sm-8">
                    <select class="form-control m-b" name="stuClass">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">实践环节类型：</label>
                <div class="col-sm-8">
                    <select class="form-control m-b" name="taskClass">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题名称：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="taskName" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题学期：</label>
                <div class="col-sm-8">
                    <select class="form-control m-b" name="taskTerm">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input name="status" type="radio" value="">
                        <label th:for="status" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题来源：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input name="taskCome" type="radio" value="">
                        <label th:for="taskCome" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题类型：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input name="taskType" type="radio" value="">
                        <label th:for="taskType" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题背景：</label>
                <div class="col-sm-8">
                    <textarea class="form-control" name="taskBackground"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">设计说明：</label>
                <div class="col-sm-8">
                    <textarea class="form-control" name="taskDesign"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课题技术：</label>
                <div class="col-sm-8">
                    <textarea class="form-control" name="taskTech"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">修改意见：</label>
                <div class="col-sm-8">
                    <textarea class="form-control" name="taskIdea"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">成绩：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="score" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">老师工号：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="teaId" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">指导教师：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="teaName" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">课程代号：</label>
                <div class="col-sm-8">
                    <input class="form-control" name="taskId" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">成绩状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input name="scoreStatus" type="radio" value="">
                        <label th:for="scoreStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/teatask";
        $("#form-teatask-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-teatask-add').serialize());
            }
        }
    </script>
</body>
</html>
